#include <iostream>
#include <cstring>

using namespace std;

int main() {
  string s1("aaa"), s2("bbb");
  if (s1 == s2) {
    cout << "same string." << endl;
  } else {
    cout << "different string." << endl;
  }

  const char *s3 = "aaa";
  const char *s4 = "bbb";
  auto result = strcmp(s3, s4);
  if (result == 0) {
    cout << "same string." << endl;
  } else {
    cout << "different string." << endl;
  }
}